#include "../common/common.h"
#include "signalisation_serveur.h"


void testChecksum(){
	filelist_p list = flist_new();
	finitlist(list, "/home/cralix/Desktop/Reso");
	//flist_print(list);
	cmd_checksum_handler(1,"9d9668fb32d0542b712be2c34ca79bd7",0,1000,500,list,"/home/cralix/Desktop/Reso");
}

void testmotif(char *motif){
	filelist_p list = flist_new();
	finitlist(list, "/home/cralix/Desktop/Reso");
	flist_print(list);
	printf("\n\n");
	filelist_p newlist = list_with_motif(motif, list);
	flist_print(newlist);
}

int main(int argc, char **argv){
	testmotif(argv[1]);
	return 0;
}
